package com.yunji.common.enums.common;


public enum MessageTypes {
    ANNOUNCEMENT(0, "公告"),
    NOTICE(1, "通知"),;

    private Integer code;
    private String text;


    MessageTypes(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    public Integer getCode() {
        return code;
    }


    public String getText() {
        return text;
    }

}
